<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>temp105_RegExp_split_paragraph</title>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<style type="text/css">
body{
	padding-left: 20px;
	background: #eee;
}
.main {
	width: 780px;
	background: #fff;
	margin-left: auto;
	margin-right: auto;
    border: 1px solid #d4d4d4;
    border-radius: 4px;
}
.btngroup {
	width: 20%;
	float: left;
	/*margin-left: auto;
	margin-right: auto;*/
}
.tplbtn {
	margin: 0 5px 5px 0;
}
button {
	margin-top: 5px;
}
</style>
    <script type="text/javascript">
    	var his = window.his || {};
    	var ctx = his.ctx = '${pageContext.request.contextPath}';
    	his.ueditorUrl = ctx + "/ueditor1.4.3.3/";
    	window.his = his;
    </script>
    <script type="text/javascript" charset="utf-8" src="${pageContext.request.contextPath}/ueditor1.4.3.3/ueditor.config.js?t=<%=new java.util.Date().getTime() %>"></script>
    <script type="text/javascript" charset="utf-8" src="./js/editor_api.js?t=<%=new java.util.Date().getTime() %>"> </script>
    <!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
    <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
    <script type="text/javascript" charset="utf-8" src="${pageContext.request.contextPath}/ueditor1.4.3.3/lang/zh-cn/zh-cn.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/jslibs/jquery.min.js"></script>
</head>
<body>
<h3 style="margin-bottom: 5px;">利用正则表达式获取嵌套元素的标签,举例如下:</h3>
<p style="margin-left: 35px;">
	<b>startTagGather:</b>  &lt;p&gt;&lt;span id="span002"&gt;&lt;b&gt;
</p>
<p style="margin-left: 35px;">
	<b>endTagGather:</b>  &lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
</p>
<div class="btngroup" id="btngroup">
	<button id="btnTest">btnTest</button>
</div>
<div class="main">
	<p><span id="span001">hello,<b id="b001">world</b>!</span></p>
	<p><span id="span002">现病史:<span>患者于<b>半年余前</b>无明显诱因下出现右上腹部疼痛，</span>呈持续性闷痛，逐渐<b>加重，<span class="emrbreak"></span>开始</b>无伴有皮肤黄染，未呈桔黄色，无尿色变黄，无呈浓茶样改变</span></p>
</div>
<div id="test" class="main"></div>
<!-- 引入js -->
<script type="text/javascript" src="./js/temp105_RegExp_split_paragraph.js?t=<%=new java.util.Date().getTime() %>"></script>
</body>
</html>